//
//  HiperTimer.h
//  Calibration
//
//  Created by ViKing Lai on 2018/1/24.
//  Copyright © 2018年 ViKing Lai. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#include <stdio.h>
#include <sys/time.h>
#include <time.h>

@interface HiperTimer : NSObject 
{
@private
	struct timeval tv;
	uint64_t mStart;
	uint64_t mStop;
	
}

//-(double) Duration;

+ (void)delaySecond:(double) delaytime;
+ (void)delayMillsecond:(int) delaytime;
- (int)durationMillisecond;
- (void)start;

@end
